<?php
class announceComponents extends sfComponents {
    public function executeList(sfRequest $request) {
        $this->news = VanillaAnnouncePeer::getList();
    }

    public function executeLastNews() {
        $this->news = VanillaAnnouncePeer::getLatestNews();
    }
}

?>
